package com.sz.designpattern.behavior11.vistor;

public abstract class Web {
    public String name;

    public Web(String name) {
        this.name = name;
    }

    /**
     * 抽象的受访问方法
     * @param vistor
     */
    public abstract void accept(Visitor vistor);

    public abstract void download();

    public String getName() {
        return name;
    }
}
